/** 
 * 项目名:shiro 
 * 文件名:PermissionServiceImpl.java 
 * 包名:com.spring.shiro.service.impl 
 * 创建日期:2015年2月13日上午10:52:57 
 * 版权(c): ZTESOFT TECHNOLOGY CO.,LTD.Copyright 2012-2030.All rights reserved
 * 
*/  
  
package com.spring.shiro.service.impl;  

import com.spring.shiro.dao.IPermissionDao;
import com.spring.shiro.dao.impl.PermissionDaoImpl;
import com.spring.shiro.po.Permission;
import com.spring.shiro.service.IPermissionService;
 
public class PermissionServiceImpl implements IPermissionService {

	private IPermissionDao permissionDao = new PermissionDaoImpl();
	
	@Override
	public Permission createPermission(Permission permission) {
		
		return permissionDao.createPermission(permission);
	}

	@Override
	public void deletePermission(Long permissionId) {
		
		permissionDao.deletePermission(permissionId);
	}

}
  